package com.cipe.cmrs.model;

import java.math.BigDecimal;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 
 * @author Incepio
 * 
 */
@Entity
@Table(name = "paymentrequestlineitem")
@SuppressWarnings("serial")
public class Paymentrequestlineitem extends BaseAuditEntity {

	/**
	 * Attribute lineitemnumber.
	 */
	private Integer lineitemnumber;

	/**
	 * Attribute paymentrequestamount.
	 */
	private BigDecimal paymentrequestamount;

	/**
	 * Attribute paymentrequest
	 */
    @ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "paymentrequestid")
	private Paymentrequest paymentrequest;

	/**
	 * Attribute accountcode
	 */
    @ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "accountcodeid")
	private AccountCode accountCode;

	/**
	 * Attribute projects
	 */
    @ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "projectid")
	private Cipeproject cipeproject;

	public Integer getLineitemnumber() {
		return lineitemnumber;
	}

	public void setLineitemnumber(Integer lineitemnumber) {
		this.lineitemnumber = lineitemnumber;
	}

	public BigDecimal getPaymentrequestamount() {
		return paymentrequestamount;
	}

	public void setPaymentrequestamount(BigDecimal paymentrequestamount) {
		this.paymentrequestamount = paymentrequestamount;
	}

	public Paymentrequest getPaymentrequest() {
		return paymentrequest;
	}

	public void setPaymentrequest(Paymentrequest paymentrequest) {
		this.paymentrequest = paymentrequest;
	}

	public AccountCode getAccountCode() {
		return accountCode;
	}

	public void setAccountCode(AccountCode accountCode) {
		this.accountCode = accountCode;
	}

	public Cipeproject getCipeproject() {
		return cipeproject;
	}

	public void setCipeproject(Cipeproject cipeproject) {
		this.cipeproject = cipeproject;
	}

}